<!--
  ~    Copyright (c) 2018-2025, 云集汇通 All rights reserved.
  ~
  ~ Redistribution and use in source and binary forms, with or without
  ~ modification, are permitted provided that the following conditions are met:
  ~
  ~ Redistributions of source code must retain the above copyright notice,
  ~ this list of conditions and the following disclaimer.
  ~ Redistributions in binary form must reproduce the above copyright
  ~ notice, this list of conditions and the following disclaimer in the
  ~ documentation and/or other materials provided with the distribution.
  ~ Neither the name of the yunjihuitong.com developer nor the names of its
  ~ contributors may be used to endorse or promote products derived from
  ~ this software without specific prior written permission.
  -->

<div v-show="!showList" class="panel panel-default">
    <div class="panel-heading">{{title}}</div>
    <form class="form-horizontal">
        <div class="form-group">
            <div class="col-sm-2 control-label">名称</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="wxcmsAccount.name" placeholder="名称"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">账号</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="wxcmsAccount.account" placeholder="账号"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">AppId</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="wxcmsAccount.appid" placeholder="AppId"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">AppSecret</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="wxcmsAccount.appsecret" placeholder="AppSecret"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">验证URL</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="wxcmsAccount.url" placeholder="验证URL"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">密钥</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="wxcmsAccount.token" placeholder="密钥"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">自动回复消息条数</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="wxcmsAccount.msgCount" placeholder="自动回复消息条数"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">创建时间</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="wxcmsAccount.createTime" placeholder="创建时间"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label"></div>
            <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
            &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
        </div>
    </form>
</div>